

package com.jfinal.aceadmin.model;

import com.jfinal.ext.plugin.tablebind.TableBind;

import java.util.Date;

/**
 * <a href="CommodityRecord.java.html"><b><i>View Source</i></b></a>
 *
 * @author Jason
 *
 */
@TableBind(tableName = "CommodityRecord", pkName = "id")
public class CommodityRecord extends BaseModel<CommodityRecord> {
	private static final long serialVersionUID = 1L;
	public static CommodityRecord dao = new CommodityRecord();

	public int getId() {
		return this.get("id");
	}

	public void setId(int id) {
		this.set("id", id);
	}

	public String getName() {
		return this.get("name");
	}

	public void setName(String name) {
		this.set("name", name);
	}

	public String getNote() {
		return this.get("note");
	}

	public void setNote(String note) {
		this.set("note", note);
	}

	public String getShip() {
		return this.get("ship");
	}

	public void setShip(String ship) {
		this.set("ship", ship);
	}

	public Date getSdate() {
		return this.get("sdate");
	}

	public void setSdate(Date sdate) {
		this.set("sdate", sdate);
	}

	public boolean getStock() {
		return this.get("stock");
	}

	public void setStock(boolean stock) {
		this.set("stock", stock);
	}
}